import {
    defineConfig,
    presetIcons,
    transformerDirectives,
    transformerVariantGroup,
} from 'unocss'

import {presetUni} from '@uni-helper/unocss-preset-uni'
import {myUnoPreset} from './src/config/myUnoPreset'

export default defineConfig({
    presets: [
        myUnoPreset,
        presetUni(),
        presetIcons({
            scale: 1.2,
            warn: true,
            extraProperties: {
                'display': 'inline-block',
                'vertical-align': 'middle',
            },
        }),
    ],
    transformers: [
        transformerDirectives(),
        transformerVariantGroup(),
    ],
})
